<!-- Horizontal Form -->
 <div class="box box-info">
      <div class="box-header with-border">
        <h3 class="box-title">添加角色</h3>
      </div>
      <!-- /.box-header -->
      <!-- form start -->
      <form class="form-horizontal">
        <div class="box-body">
          <div class="form-group">
            <label for="nameId" class="col-sm-2 control-label">请求类型</label>

            <div class="col-sm-10">
              <input type="text" class="form-control" name="requestType" id="requestType" readonly>
            </div>
          </div>
          <div class="form-group">
            <label for="noteId" class="col-sm-2 control-label">详细情况</label>

            <div class="col-sm-10">
           		<textarea rows="3" class="form-control" name="requestParams" id="requestParams" disabled></textarea>
            </div>
          </div>
        </div>
        <!-- /.box-body -->
        <div class="box-footer">
          <button type="button" class="btn btn-default btn-cancel">关闭</button>
        </div>
        <!-- /.box-footer -->
      </form>
    </div>
    <script type="text/javascript" src="bower_components/ztree/jquery.ztree.all.min.js"></script>
    <script type="text/javascript">
	    $(function(){
	    	$(".box-footer")
	    	.on("click",".btn-cancel",doCancel);
	    });
	    function doCancel(){
	       	var url="log/log_list";
	       	$("#mainContentId")
	       	.load(url,function(){
	       	  $("#mainContentId").removeData();
	       	});
        }
	</script>